import request from "../utils/request"
import utils from "../utils/util.js"
export default {

	getPetFuneralList(query) {
		const queryParmas = utils.addParamsToURL(query);
		return request.get(`/pet/funeralMasterInfo/list?${queryParmas}`);
	},

	addPetFuneral(data) {
		return request.post('/pet/funeralMasterInfo/add1', data);
	},

	getPetFuneralById(id) {
		return request.get(`/pet/funeralMasterInfo/${id}`)
	},
	delPetFuneralById(id) {
		return request.request(`/pet/funeralMasterInfo/${id}`, 'DELETE')
	},
}